Optimal. Leaf size=35 \[ a \log (x)+\frac {1}{2} i b \text {Li}_2(-i c x)-\frac {1}{2} i b \text {Li}_2(i c x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {4848, 2391} \[ \frac {1}{2} i b \text {PolyLog}(2,-i c x)-\frac {1}{2} i b \text {PolyLog}(2,i c x)+a \log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2391
Rule 4848
Rubi steps
\begin {align*} \int \frac {a+b \tan ^{-1}(c x)}{x} \, dx &=a \log (x)+\frac {1}{2} (i b) \int \frac {\log (1-i c x)}{x} \, dx-\frac {1}{2} (i b) \int \frac {\log (1+i c x)}{x} \, dx\\ &=a \log (x)+\frac {1}{2} i b \text {Li}_2(-i c x)-\frac {1}{2} i b \text {Li}_2(i c x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 35, normalized size = 1.00 \[ a \log (x)+\frac {1}{2} i b \text {Li}_2(-i c x)-\frac {1}{2} i b \text {Li}_2(i c x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.41, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b \arctan \left (c x\right ) + a}{x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \mathit {sage}_{0} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.03, size = 74, normalized size = 2.11 \[ a \ln \left (c x \right )+b \ln \left (c x \right ) \arctan \left (c x \right )+\frac {i b \ln \left (c x \right ) \ln \left (i c x +1\right )}{2}-\frac {i b \ln \left (c x \right ) \ln \left (-i c x +1\right )}{2}+\frac {i b \dilog \left (i c x +1\right )}{2}-\frac {i b \dilog \left (-i c x +1\right )}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ b \int \frac {\arctan \left (c x\right )}{x}\,{d x} + a \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.29, size = 28, normalized size = 0.80 \[ a\,\ln \relax (x)-\frac {b\,\left ({\mathrm {Li}}_{\mathrm {2}}\left (1-c\,x\,1{}\mathrm {i}\right )-{\mathrm {Li}}_{\mathrm {2}}\left (1+c\,x\,1{}\mathrm {i}\right )\right )\,1{}\mathrm {i}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {a + b \operatorname {atan}{\left (c x \right )}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________